package cn.yujiago.miaosha.util;

import org.apache.commons.codec.digest.DigestUtils;

import java.util.UUID;

public class MyStringUtil {

	public static String uuid() {
		return UUID.randomUUID().toString().replace("-", "");
	}

	public static String md5(String src) {
		return DigestUtils.md5Hex(src);
	}
}
